# horizontalMargin attribute

The horizontalMargin attribute specifies the number of pixels for the horizontal touch margin. The horizontal margin is a touch-insensitive margin inside the object’s left and right edges. If the operator presses the touch-insensitive margin, the button press is not registered. If the shape attribute is circle or ellipse, the touch margin applies to the button’s bounding box.

All the button graphic object elements, and the numericInputCursorPoint, numericInputEnable, and stringInputEnable graphic object elements, contain this attribute.

FactoryTalk View equivalent: HorizontalMargin

## See also

horizontalMargin attribute syntax

shape attribute

Numeric and string objects: numericInputEnable object

Numeric and string objects: numericInputCursorPoint object